<template>
  <div>
    <!--  slot 插槽 组件之间包的内容写在了slot标签里-->
    <div class="wbgc">
    <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
    name:'Ald',
    data(){
        return{
        }
    }
}
</script>

<style scoped>
.wbgc{
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.3);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}
</style>